package group.program.mapper;

import group.program.pojo.trafficPojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface LoginMapper {
    @Select("select * from user where username=#{user_name} and password=#{password}")
    User getByUsernameAndPassword(User user);
}
